import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('counter', {
  state: () => ({
    items: [{
    children: [
      {
        img: 'https://ts3.cn.mm.bing.net/th?id=OIP-C.4SPZVrcvZ-Tunx4G4FFtRAHaHa&w=250&h=250&c=8&rs=1&qlt=90&o=6&dpr=1.3&pid=3.1&rm=2',
        text: 'http://vjs.zencdn.net/v/oceans.mp4',
        id: 1,
      },
      {
        img: '',
        text: 'https://video.699pic.com/videos/28/44/83/a_67038743121c417282844830758_10s.mp4',
        id: 2,
      },
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.FYx55PIoNajL-lEV5UhFlAHaNK?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/32/50/84/a_66f4e39cd605817273250848783_10s.mp4',
        id: 3,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.eiQsHwkGjHA0qMrr6a6ZiAHaL0?w=124&h=199&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/10/60/07/a_GX1gIimsJqsq17301060074081_10s.mp4',
        id: 4,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.Mpyo8EM9PSU1wH43OXGXqgHaP8?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/35/12/95/a_672310bfb2b2b17303512957335_10s.mp4',
        id: 5,
      },
    ],
  },
  {
    text: '皮肤健康',
    children: [
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.r6NwGCf8QT_F-B3684ka3wHaEo?w=246&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://www.w3schools.com/html/movie.mp4',
        id: 6,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.sub9iQXJoHfHP97_wiky5AHaGo?w=170&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/29724199/00/51/86/6066b1fd6a45d_10s_big.mp4',
        id: 7,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.r6NwGCf8QT_F-B3684ka3wHaEo?w=246&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://www.w3schools.com/html/movie.mp4',
        id: 8,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.r6NwGCf8QT_F-B3684ka3wHaEo?w=246&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/29724199/00/51/86/6066b1fd6a45d_10s_big.mp4',
        id: 9,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.r6NwGCf8QT_F-B3684ka3wHaEo?w=246&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://www.w3schools.com/html/movie.mp4',
        id: 10,
      },
      {
        img: '',
        text: 'https://img.tukuppt.com/video_show/29724199/00/51/86/6066b1fd6a45d_10s_big.mp4',
        id: 11,
      },
    ],
  },
  {
    text: '慢病科普',
    children: [
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.YFx70Pi14BnNhhxwAgzKGAHaE7?w=255&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-360p.mp4',
        id: 12,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C._ywfx4u_W3uoB5GzRbBuRAHaEo?w=289&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://media.w3.org/2010/05/sintel/trailer.mp4',
        id: 13,
      },
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.cATtIDx3-VkzWn0cVb0_CgHaE8?w=270&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://stream7.iqilu.com/10339/upload_transcode/202002/09/20200209105011F0zPoYzHry.mp4',
        id: 14,
      },
    ],
  },
  {
    text: '妇儿科普',
    children: [
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.EclTGzdNn2IRohyNMI6orAHaFj?w=224&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://stream7.iqilu.com/10339/upload_transcode/202002/09/20200209104902N3v5Vpxuvb.mp4',
        id: 15,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.9XVFF4L3EDvQCVuhQ5judwHaEK?w=273&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/14490244/00/16/83/5eaa3c14379d9_10s_big.mp4',
        id: 16,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.bN5VC9de5GMonA1uyyxsdwHaEk?w=249&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/4632272/00/02/94/5b9e32dc21486_10s_big.mp4',
        id: 17,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.yFCWbWIL6U3JYidi6MwNoAHaLG?w=119&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/14490244/00/13/60/5e00ef87d4e4f_10s_big.mp4',
        id: 18,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.bUW2KSLDmuJtIbm7aLB1TwAAAA?w=188&h=188&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/2418175/00/01/60/5b476955b8762_10s_big.mp4',
        id: 19,
      },
    ],
  },
  {
    text: '肿瘤治疗',
    children: [
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.QongheeldWhdvvb235Y2xgHaDr?w=278&h=174&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/30540847/02/02/99/643296c01f4e8_10s_big.mp4',
        id: 20,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C._pepUVn5fF28UuRs69g-pAHaEK?w=328&h=184&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/2269348/00/41/24/6013c7399b5b4_10s_big.mp4',
        id: 21,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.TbL0XKZ2jNF3cpqDF5dnawHaEo?w=288&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/40405801/01/71/39/63f46f1f83ea3_10s_big.mp4',
        id: 22,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.-AlQzfnUJs_KadyiHXcDWAHaE7?w=250&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/53910997/01/87/94/6420e14fc5fa0_10s_big.mp4',
        id: 23,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.pUmX40Q-DJcR7O1M9EUEOgHaEo?w=301&h=187&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/4559687/01/26/57/62541635bbe76_10s_big.mp4',
        id: 24,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.qMdDiIegyO0KNUJ8QV2MmQHaEo?w=300&h=187&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/2269348/00/42/05/601822fe13ff2_10s_big.mp4',
        id: 25,
      },
    ],
  },
  {
    text: '神经频道',
    children: [
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.nvoCGMSzhr-Ji6qRhDH0fQHaNM?w=115&h=188&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://img.tukuppt.com/video_show/15653652/00/15/88/5e96b3841ce68_10s_big.mp4',
        id: 26,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.1ALGffpd-fcBScaGS2G30AHaEL?w=297&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/ed/ed4a0912f21d467ba4ea879e8563fda0.mp4?e=1732165200&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:0KRCfiEC_3T1jXeK2Q61JcNLrxs=',
        id: 27,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.1ALGffpd-fcBScaGS2G30AHaEL?w=297&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/ed/ed4a0912f21d467ba4ea879e8563fda0.mp4?e=1732165200&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:0KRCfiEC_3T1jXeK2Q61JcNLrxs=',
        id: 28,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.yfXFRgHJ7tUez7pz6oGLfQHaMm?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/ed/ed4a0912f21d467ba4ea879e8563fda0.mp4?e=1732165200&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:0KRCfiEC_3T1jXeK2Q61JcNLrxs=',
        id: 29,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.1ALGffpd-fcBScaGS2G30AHaEL?w=297&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/ed/ed4a0912f21d467ba4ea879e8563fda0.mp4?e=1732165200&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:0KRCfiEC_3T1jXeK2Q61JcNLrxs=',
        id: 30,
      },
    ],
  },
  {
    text: '风湿免疫',
    children: [
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.2IRCeI7lpFjVDkDwqMseBQHaEo?w=282&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/14/140447701eec4de2affbc6fabc4d2ddb.mp4?e=1732165200&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:1Osy5NuQM5wOkreEGeXIjfDMvLY=',
        id: 31,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.PtvTUNA8Je2YgjbFDQcz5gHaEK?w=314&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/d0/d0f6b57b10a54648bdc9f8e27e49425e.mp4?e=1732165260&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:_xM-w8R6IFKahaQhD3WIZ8wwxsY=',
        id: 32,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.dqKJ6xt0seQgbaCtrnmb6AHaEo?w=283&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/71/04/b_wF0jjpUr62eQ1649657104_10s.mp4',
        id: 33,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.tvzvyEVHG5YiQCmn0goZqQHaLH?w=131&h=197&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/14/140447701eec4de2affbc6fabc4d2ddb.mp4?e=1732165200&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:1Osy5NuQM5wOkreEGeXIjfDMvLY=',
        id: 34,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.yfXFRgHJ7tUez7pz6oGLfQHaMm?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://fd.aigei.com/src/vdo/mp4/d0/d0f6b57b10a54648bdc9f8e27e49425e.mp4?e=1732165260&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:_xM-w8R6IFKahaQhD3WIZ8wwxsY=',
        id: 35,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.1Pr7s5Kjh4246Ps9ru_PogHaFN?w=241&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/71/04/b_wF0jjpUr62eQ1649657104_10s.mp4',
        id: 36,
      },
    ],
  },
  {
    text: '内分泌科',
    children: [
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.8C0139s-yVsrZvtlIpYUFgHaNM?w=115&h=194&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/03/60/83/b_nyJwftsjsg2h1681036083_10s.mp4',
        id: 37,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.6DrjTHZ1ud-bp086TXf5uQHaJb?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/82/49/23/b_kUeYi6vTwAQr1628824923_10s.mp4',
        id: 38,
      },
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.2IRCeI7lpFjVDkDwqMseBQHaEo?w=282&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/12/43/93/b_dCrKrY8VakzB1623124393_10s.mp4',
        id: 39,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.TbL0XKZ2jNF3cpqDF5dnawHaEo?w=288&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/25/33/38/a_IbhZmBMrY6gJ1626253338_10s.mp4',
        id: 40,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.bN5VC9de5GMonA1uyyxsdwHaEk?w=249&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/08/46/52/b_DFaSxDsi7Q151624084652_10s.mp4',
        id: 41,
      },
    ],
  },
  {
    text: '心脑血管',
    children: [
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.8tu7_t0sbVZFCwB6kmKLPQHaNK?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/40/31/b_zRdsFWid9Ax71628654031_10s.mp4',
        id: 42,
      },
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.Q37bjqeXxZDqklNuBrz2MQHaEK?w=303&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/40/31/b_zRdsFWid9Ax71628654031_10s.mp4',
        id: 43,
      },
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.YFx70Pi14BnNhhxwAgzKGAHaE7?w=255&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/40/31/b_zRdsFWid9Ax71628654031_10s.mp4',
        id: 44,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.G5m45gb0F1xFl8Q0WGxrEQHaEo?w=281&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/40/31/b_zRdsFWid9Ax71628654031_10s.mp4',
        id: 45,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.r6NwGCf8QT_F-B3684ka3wHaEo?w=246&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/65/40/31/b_zRdsFWid9Ax71628654031_10s.mp4',
        id: 46,
      },
    ],
  },
  {
    text: ' 心理健康',
    children: [
      {
        img: 'https://tse2-mm.cn.bing.net/th/id/OIP-C.6DrjTHZ1ud-bp086TXf5uQHaJb?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/56/34/71/b_5mEtS0bJI28M1628563471_10s.mp4',
        id: 47,
      },
      {
        img: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.00GkBehYQDotKgvPNUW8igHaEo?w=281&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/76/77/85/b_ekniBPZxB5Gr1567767785_10s.mp4',
        id: 48,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.rCPDrIe9GackUhIz0yWB2QHaEK?w=251&h=185&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/11/86/10/b_YM9brCGdSS031623118610_10s.mp4',
        id: 49,
      },
      {
        img: 'https://tse3-mm.cn.bing.net/th/id/OIP-C.8C0139s-yVsrZvtlIpYUFgHaNM?w=115&h=194&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/38/47/53/a_1xegFVc47Q7J1651384753_10s.mp4',
        id: 50,
      },
      {
        img: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.yfXFRgHJ7tUez7pz6oGLfQHaMm?w=115&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
        text: 'https://video.699pic.com/videos/38/47/53/a_1xegFVc47Q7J1651384753_10s.mp4',
        id: 51,
      },
    ],
  }],
  xysinfo:{
    doctoradmin: "",
    doctoradministre: "",
    doctorbrowse: "",
    doctorcity: "",
    doctordescword: "",
    doctorflag: "",
    doctorgood: "",
    doctoriddoc: "",
    doctorimage: "",
    doctorname: "",
    doctorprice: "",
    doctorstate: "",
    doctortime: "",
    id: ""
 }
  }),

  actions: {
    setxysinfo(info:any){
      this.xysinfo = info
      console.log(this.xysinfo.doctorname,"setxysinfo");
    }
  },
})
